package com.yonyou.brigade.basic_init.model;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.activerecord.Model;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author kangfw5@yonyou.com
 * @since 2018-09-19
 */
public class Developer extends Model<Developer> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 用户手机号
     */
    private String mobile;
    /**
     * 邮箱地址
     */
    private String email;
    /**
     * 姓名/昵称
     */
    private String name;
    /**
     * 类型 KF:开发 YY:运营 YW:运维 CP:产品 CS:测试 JL:经理
     */
    private String type;
    /**
     * 接收问题级别 1-2-3..
     */
    private Integer level;
    private Date ts;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public Date getTs() {
        return ts;
    }

    public void setTs(Date ts) {
        this.ts = ts;
    }

    public static final String ID = "id";

    public static final String MOBILE = "mobile";

    public static final String EMAIL = "email";

    public static final String NAME = "name";

    public static final String TYPE = "type";

    public static final String LEVEL = "level";

    public static final String TS = "ts";

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "Developer{" +
        "id=" + id +
        ", mobile=" + mobile +
        ", email=" + email +
        ", name=" + name +
        ", type=" + type +
        ", level=" + level +
        ", ts=" + ts +
        "}";
    }
}
